﻿namespace CodeContrib.Web.Security
{
	public interface IAuthenticationProxy
	{
		string DefaultUrl { get; }
		string LoginUrl { get; }

		string GetRedirectUrl(string username, bool createPersistentCookie);
		void RedirectFromLoginPage(string username, bool createPersistentCookie);
		void SignIn(string username, bool createPersistentCookie);
		void SignOut();
	}
}